<script setup>
	import elTopMenu from '@/components/el-top-menu.vue'
</script>

<template>
	<div class="pgs-menu">
		<elTopMenu />
	</div>
	<div class="pgs-box">
		<router-view v-slot="{ Component }">
			<keep-alive>
				<component :is="Component" />
			</keep-alive>
		</router-view>
	</div>
</template>

<style lang="scss" scoped>
	.pgs-box {
		position: relative;
		width: 100%;
		height: calc(100vh - 120px);
		overflow: auto;
	}

	.pgs-menu {
		width: 100%;
		// height: 120px;
		position: relative;
		top: 0;
	}
</style>